#include<iostream>
#include"getDetailById.h"

using namespace std;


int main(int argc,char** argv)
{
	string sUrl,fdbkUrl;
	int sellerPagesNum = 2;//how many pages of sellers
	vector<string> keyWord;//use key word & delKeyWord to filter product description
	vector<string> delKeyWord;
    int lowestPrice = 150;
	Time eTime;
	sUrl = "cell-phones.shop.ebay.com/Cell-Phones-Smartphones-/3312/i.html?LH_BIN=1&_trkparms=65%253A12%257C66%253A4%257C39%253A1%257C72%253A2695&_nkw=nokia%20E71&_catref=1&_dmpt=Cell_Phones&_trksid=p3286.c0.m14&_pgn=2";
	
	//LG Vu CU920
	keyWord.push_back("nokia");
	keyWord.push_back("e71");
	//keyWord.push_back("vu"); 
    eTime.set(10,1,4,0,0,0);

	ProductDetail nokia(sUrl,sellerPagesNum,keyWord,delKeyWord,lowestPrice,eTime);
    //nokia.Run();
	nokia.DBG_Run();

	system("pause");
	return 0; 
}
